﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Vegetable.Model
{
    /// <summary>
    /// 表1蔬菜基本情况调查T_VegBasicInfo查询条件
    /// </summary>
    public class VegBasicInfoQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaCode{ get;set;}
        /// <summary>
        /// 菜地总面积
        /// </summary>
        public decimal? VegArea{ get;set;}
        /// <summary>
        /// 常年蔬菜占地面积
        /// </summary>
        public decimal? PerennialArea{ get;set;}
        /// <summary>
        /// 季节性-总面积
        /// </summary>
        public decimal? SeasonArea{ get;set;}
        /// <summary>
        /// 季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? WSArea{ get;set;}
        /// <summary>
        /// 季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? SFArea{ get;set;}
        /// <summary>
        /// 水生蔬菜面积
        /// </summary>
        public decimal? LiquidArea{ get;set;}
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? FacilityArea{ get;set;}
        public string Remark { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser{ get;set;}
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime{ get;set;}
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser{ get;set;}
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime{ get;set;}
    }



    public class VegBasicInfoViewModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 菜地总面积
        /// </summary>
        public decimal? VegArea { get; set; }
        /// <summary>
        /// 常年蔬菜占地面积
        /// </summary>
        public decimal? PerennialArea { get; set; }
        /// <summary>
        /// 季节性-总面积
        /// </summary>
        public decimal? SeasonArea { get; set; }
        /// <summary>
        /// 季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? WSArea { get; set; }
        /// <summary>
        /// 季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? SFArea { get; set; }
        /// <summary>
        /// 水生蔬菜面积
        /// </summary>
        public decimal? LiquidArea { get; set; }
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? FacilityArea { get; set; }
        public string Remark { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 报表状态
        /// </summary>
        public string ReportStatus { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string OldId { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string OldReportId { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string OldAreaCode { get; set; }
        /// <summary>
        /// 菜地总面积
        /// </summary>
        public decimal? OldVegArea { get; set; }
        /// <summary>
        /// 常年蔬菜占地面积
        /// </summary>
        public decimal? OldPerennialArea { get; set; }
        /// <summary>
        /// 季节性-总面积
        /// </summary>
        public decimal? OldSeasonArea { get; set; }
        /// <summary>
        /// 季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? OldWSArea { get; set; }
        /// <summary>
        /// 季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? OldSFArea { get; set; }
        /// <summary>
        /// 水生蔬菜面积
        /// </summary>
        public decimal? OldLiquidArea { get; set; }
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? OldFacilityArea { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string OldAddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? OldAddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string OldUpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? OldUpdateTime { get; set; }
        /// <summary>
        /// 上一年报表状态
        /// </summary>
        public string OldReportStatus { get; set; }
        public string OldRemark { get; set; }
    }

    public class VegBasicInfoModel
    {
        public string year { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 菜地总面积
        /// </summary>
        public decimal? VegArea { get; set; }
        /// <summary>
        /// 常年蔬菜占地面积
        /// </summary>
        public decimal? PerennialArea { get; set; }
        /// <summary>
        /// 季节性-总面积
        /// </summary>
        public decimal? SeasonArea { get; set; }
        /// <summary>
        /// 季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? WSArea { get; set; }
        /// <summary>
        /// 季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? SFArea { get; set; }
        /// <summary>
        /// 水生蔬菜面积
        /// </summary>
        public decimal? LiquidArea { get; set; }
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? FacilityArea { get; set; }
        public string Remark { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
    public class VegBasicInfoStatsModel
    {
        /// <summary>
        /// 年份
        /// </summary>
        public string FillInYear { get; set; }
        /// <summary>
        /// 所属行政区划
        /// </summary>
        public string AreaCode { get; set; }
        public string AreaName { get; set; }
        /// <summary>
        /// 菜地总面积
        /// </summary>
        public decimal? VegArea { get; set; }
        /// <summary>
        /// 常年蔬菜占地面积
        /// </summary>
        public decimal? PerennialArea { get; set; }
        /// <summary>
        /// 季节性-总面积
        /// </summary>
        public decimal? SeasonArea { get; set; }
        /// <summary>
        /// 季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? WSArea { get; set; }
        /// <summary>
        /// 季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? SFArea { get; set; }
        /// <summary>
        /// 水生蔬菜面积
        /// </summary>
        public decimal? LiquidArea { get; set; }
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? FacilityArea { get; set; }
        /// <summary>
        /// 上年年份
        /// </summary>
        public string OldFillInYear { get; set; }
        /// <summary>
        /// 上年菜地总面积
        /// </summary>
        public decimal? OldVegArea { get; set; }
        /// <summary>
        /// 上年常年蔬菜占地面积
        /// </summary>
        public decimal? OldPerennialArea { get; set; }
        /// <summary>
        /// 上年季节性-总面积
        /// </summary>
        public decimal? OldSeasonArea { get; set; }
        /// <summary>
        /// 上年季节性-冬春季蔬菜面积
        /// </summary>
        public decimal? OldWSArea { get; set; }
        /// <summary>
        /// 上年季节性-夏秋季蔬菜面积
        /// </summary>
        public decimal? OldSFArea { get; set; }
        /// <summary>
        /// 上年水生蔬菜面积
        /// </summary>
        public decimal? OldLiquidArea { get; set; }
        /// <summary>
        /// 设施蔬菜面积
        /// </summary>
        public decimal? OldFacilityArea { get; set; }
    }
}
